package ${package}pojo;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import java.util.Date;
import java.sql.Timestamp;
<#--import annotation.Table;-->
<#--import annotation.TableColumn;-->

/**
* @desc：表名为： ${table_name}  表注释为： <#if table_remark !=""> ${table_remark} </#if>
* @author Auto generate
* @date ${gen_time}
*/
<#--@Table(tableName = "${table_name_small}"<#if table_remark !="">,expFileName="${table_remark}"<#else>,expFileName="导出数据文件"</#if> <#if table_order_by?exists>,orderBy="${table_order_by}"</#if><#if table_order?exists>,order="${table_order}"</#if>)-->
public class ${pojo_name_query_param} implements Serializable{
    private static final long serialVersionUID = 1L;

    /**
    * 第几页
    */
    @ApiModelProperty("第几页")
    private Integer page;
    /**
    * 每页数量
    */
    @ApiModelProperty("每页数量")
    private Integer limit;

<#if COLUMNS?exists>
<#list COLUMNS as model>
<#if model.javaNameExclude ?? >
    /**
    * ${model.columnName}  ${model.columnType}
    * <#if model.remarks !="">${model.remarks }<#else>${model.javaName}</#if>
    */
<#--    <#if model.javaType=="Date">@JSONField(format="yyyy-MM-dd")-->
<#--    <#elseif model.javaType=="Timestamp">@JSONField(format="yyyy-MM-dd hh:mm:ss")</#if>-->
<#--    @TableColumn(dbColumn = "${model.columnName}",dbColumnType = "${model.columnType}"<#if model.remarks != "">,excelHeader = "${model.remarks}"</#if><#if model.isPK == "true">,isPK="true"</#if>)-->
    @ApiModelProperty("<#if model.remarks !="">排除${model.remarks }<#else>排除${model.javaName}</#if>")
    private List<${model.javaType}> ${model.javaNameExclude};
    @ApiModelProperty("<#if model.remarks !="">匹配${model.remarks}<#else>匹配${model.javaName}</#if>")
    private List<${model.javaType}> ${model.javaName};
</#if>
</#list>
</#if>



    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
<#if COLUMNS?exists>
<#list COLUMNS as model>
<#if model.javaNameExclude ?? >
    public List<${model.javaType}> ${model.getterNameExclude}() {
        return ${model.javaNameExclude};
    }

    public List<${model.javaType}> ${model.getterName}() {
        return ${model.javaName};
    }

    public void ${model.setterNameExclude}(List<${model.javaType}> ${model.javaNameExclude}) {
        this.${model.javaNameExclude} = ${model.javaNameExclude};
    }

    public void ${model.setterName}(List<${model.javaType}> ${model.javaName }) {
        this.${model.javaName } = ${model.javaName };
    }
</#if>
</#list>
</#if>


}